package cloud.xlh.my_system.login.facial_recognition.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created with IntelliJ IDEA.
 *
 * @ project name : xlh_osms
 * @ Author: XuLeHuang
 * @ Date: 2022/6/26 20:07
 * @ Description:
 */
@Controller
@RequestMapping("/facialRecognitionRouter")
public class FacialRecognitionRouterController {

    /*
    * facial recognition login 人脸识别登录
    * */
    @RequestMapping(value = "toFacialRecognitionLoginPage")
    public String toRacialRecognitionLoginPage() {
        return "/login/facial-recognition/faceLogin";
    }

    @RequestMapping(value = "toFacialRecognitionRegisterPage")
    public String totoRegister() {
        return "/login/facial-recognition/faceRegister";
    }

    @RequestMapping(value = "toFacialRecognitionLoginErroPage")
    public String toErro() {
        return "/login/facial-recognition/erro";
    }

    @RequestMapping(value = "toFacialRecognitionLoginSuccessPage")
    public String toSuccess() {
        return "/login/facial-recognition/success";
    }
}
